package arrayTest;

/**
 * @Author Zhang Chao
 * @Date 2021/5/8 16:22
 * @Version 1.0
 */

import java.lang.reflect.Array;
import java.util.Arrays;

/**
 * 打印数组
 */
public class testArray2 {
    public static void main(String[] args) {

        String[] Array2 = {"a","b","c", "d", "e"};
        int[] intArray = { 1, 2, 3, 4, 5 };

        System.out.println(Array2);
        System.out.println(intArray);

        String ArrayString = Arrays.toString(Array2);
        String intArrayString = Arrays.toString(intArray);

        System.out.println(ArrayString);
        System.out.println(intArrayString);
    }
}
